home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
5-Fonts & Software
/
Demo Software
/
FullWrite Professional
/
FullWrite 1.0 Sampler
/
FullWrite 1.0 Sampler.rsrc
/
PREC_103
< prev
next >
Wrap
Text File
|
1988-06-08
|
5KB
|
358 lines
%%Title: (FullWrite[tm] PostScript Header)
%%Creator: (Ashton-Tate)
% (C) Copyright 1987,1988 Ashton-Tate Corporation. All Rights Reserved.
%%EndComments
%%BeginProcSet (FullWriteProcSet) 1.0 1
/FW 200 dict def FW begin
/Fd{bind def}bind def
/Fx{exch def}bind def
/Wdv save 72. 0. matrix defaultmatrix dtransform
dup mul exch dup mul add sqrt exch restore
def
/Wpt 8 string def
currentscreen/Wzc Fx/Wzb Fx/Wza Fx
% Next line defines type of screen used for grays.
/Wzz 00000 def
/Frd{
Wdv mul 72 div round 72 mul Wdv div
}Fd
/Fxy{
Frd exch Frd exch
}Fd
/Frc{
1 index 3 index
4 2 roll
5 index 1 index
1 index 5 index
}Fd
/Fr{
Frc
newpath moveto lineto lineto lineto lineto
}Fd
/Far{
3 index 3 index W2 arcto 4{pop}repeat
}Fd
/Frr{
2 index 5 index sub 1 sub 2 div
2 index 5 index sub 1 sub 2 div
2 copy ge{exch}if pop
2 copy ge{exch}if pop
/W2 Fx
Frc
3 index 3 index
12 2 roll
W2 add newpath moveto
Far Far Far Far
pop pop
}Fd
/Fss{
Wza
Wzz 0 ne
{pop Wzz -1 ne
{pop Wzz}
if}
{exch 25 mod 0 eq
{pop Wdv 4 div}
if}
ifelse
Wzb/Wzc load setscreen
}Fd
/Fsg{
dup Fss
cvr 100. div 1. exch sub setgray
}Fd
/Fp{
64. div setgray
Wpt copy pop
0 eq{0}{90}ifelse 9.375 exch
{1 add 4 mul cvi Wpt exch get exch 1 add 4 mul cvi 7 sub bitshift 1 and}
setscreen
}Fd
/Fs{
gsave
0 setgray 2 setlinecap
exec
stroke
grestore
}Fd
/Ff{
gsave
exch Fsg
newpath exec closepath
fill
grestore
}Fd
/Fsh{
gsave
exch Fsg
exch/W1 Fx
W1 dup translate
newpath W3 copy W3 -1 roll 1 add W3 1 roll exec closepath clip
newpath
W3 copy exec
W1 neg dup translate
exec closepath eofill
grestore
}Fd
/Fsw{
dup 0 le{pop .25}if setlinewidth
}Fd
/Fmf{
/Wt6/Times-Roman findfont [6 0 0 -6 0 0] makefont def
}Fd
/Fln{
/Wt6 where{pop}{Fmf}ifelse
gsave
moveto
0 setgray Wt6 setfont dup stringwidth pop neg 2 rmoveto show
grestore
}Fd
/Fff{
currentfont/FontInfo known
{/W2 currentfont/FontInfo get def
dup W2 exch known
{W2 exch get true}
{pop false}
ifelse
}
{pop false}
ifelse
}Fd
/Fgv{
Fff
{3 1 roll pop pop 0 exch currentfont/FontMatrix get dtransform exch pop}
{div}
ifelse
Frd
}Fd
/Fgv{
Fff
{exch pop 0 exch currentfont/FontMatrix get dtransform exch pop
Waa mul}
{Wa exch div}
ifelse
Frd
}Fd
/Fup{
10/UnderlinePosition Fgv abs
}Fd
/Fuw{
15/UnderlineThickness Fgv abs
}Fd
/Fuu{
Fxy newpath
W3
{moveto 0 currentlinewidth 2 div rmoveto
Frd dup 0 rlineto
0 currentlinewidth neg rlineto
neg 0 rlineto
0 currentlinewidth rlineto
currentlinewidth .25 Frd setlinewidth
gsave 1 setgray fill grestore stroke
setlinewidth}
{moveto Frd 0 rlineto stroke}
ifelse
}Fd
/Ffs{
dup 0 le
{/Wa 2 index def neg div/Waa Fx}
{/Wa Fx/Waa 1. def}
ifelse
}Fd
/Fnp{
Ffs 0 setgray/W3 false def
}Fd
/Flp{
Fnp Fsg
}Fd
/Fop{
Ffs Fsg/W3 true def
}Fd
/Ful{
gsave [] 0 setdash 0 setlinecap
exch Fup add exch
Fuw
exch 1 eq
{setlinewidth Fuu}
{dup .45 mul Frd dup setlinewidth
exch .15 mul dup 1 lt{pop 1}if add Frd
4 copy pop Fuu add Fuu}
ifelse
grestore
}Fd
/Fto{
sub/W3 true def
}Fd
/Fts{
.5 mul dup 4 1 roll sub 3 1 roll exch add exch/W3 false def
}Fd
/Fsu{
gsave 4 copy 3 1 roll Fuw Fts 3 -1 roll 0 setgray Ful grestore
3 1 roll Fuw Fto 3 -1 roll Ful
}Fd
/Fdu{
gsave
[.25 1.5] 0 setdash 0 setlinecap 0 setgray
exch Fup add exch
72 Wdv div setlinewidth
1 eq
{Fuu}
{3 copy Fuu 1.25 add Fuu}
ifelse
grestore
}Fd
/Ftl{
gsave
[] 0 setdash 0 setlinecap
Fuw dup setlinewidth 2 div neg add Fuu
grestore
}Fd
/Fsl{
currentlinewidth 4 1 roll
Fuw setlinewidth
gsave 3 copy currentlinewidth Fts 0 setgray Ftl grestore
currentlinewidth Fto Ftl
setlinewidth
}Fd
/Fshow{
show
}Fd
/Fi{
count 1 sub exch roll/Fi count 1 roll
}Fd
/StartTransform{
currentpoint
count -5 roll
4 index 4 index translate
rotate
scale
neg exch neg exch translate
moveto
}Fd
/Fgs{
Wk 4 and 0 ne
{count -1 roll}
{100}
ifelse
Fsg
Wk 8 and 0 ne
{StartTransform}
if
}Fd
/Fg{
count -4 roll
/Wk Fx
/Wh Fx
/Wd Fx
pop
Wk 1 and 0 ne
{count -2 roll}
{0 0}
ifelse
2 copy rmoveto
/Wdy Fx/Wdx Fx
Wk 2 and 0 ne
{count -1 roll}
{0}
ifelse
/Wi exch def
Wk 3 gt
{Fgs}
if
Fex
}Fd
/Fcc{
/Wb 0 def
/Wc 0 def
{32 eq{/Wb Wb 1 add def}if
/Wc Wc 1 add def}
forall
}Fd
/Fq0{
gsave Fg
Wi Wb mul add
Wh sub neg Wd div
/Wj Fx
Wi 0 32 Wj 0 6 -1 roll awidthshow
currentpoint grestore moveto Wdx neg Wdy neg rmoveto
}Fd
/Fq1{
count 2 sub -1 roll pop
count 2 sub Wl -2 mul roll
gsave Fg
Wg Wi We mul add
Wh sub neg Wd div/Wj Fx
1 1 Wl
{pop setfont Wi 0 32 Wj 0 6 -1 roll awidthshow}
for
currentpoint grestore moveto Wdx neg Wdy neg rmoveto
}Fd
/Fq2{
/Wg Fx
currentfont count 2 sub 2 roll
/Wl 1 def
/We Wb def
/Wf Wc def
/Fq4 count 2 sub 1 roll
}Fd
/Fq3{
Wg add/Wg Fx
currentfont count 3 sub 2 roll
/Wl Wl 1 add def
/We We Wb add def
/Wf Wf Wc add def
Wf count 2 sub index eq
{Fq1}
if
}Fd
/Fq4{
count 3 sub index
/Fq4 eq
{Fq3}
{Fq2}
ifelse
}Fd
/Fq5{
dup Fcc
dup stringwidth pop
count 2 sub index Wc eq
{Fq0}
{Fq4}
ifelse
}Fd
/Frl{
dup/Wx Fx count 1 sub exch roll
Wx count 1 roll/Wx count 1 roll
}Fd
/Fex{
count 1 sub index/Wx eq
{/Wx count -2 roll exch pop count 1 sub exch neg roll
{dup/Wx eq{exit}{load exec}ifelse}loop pop}
if
}Fd
/show{
count 1 sub index/Fi eq
{Fq5}
{Fshow}
ifelse
}Fd
/zFnp{/Fnp}Fd
/zFlp{/Flp}Fd
/zFop{/Fop}Fd
/zFul{/Ful}Fd
/zFsu{/Fsu}Fd
/zFdu{/Fdu}Fd
/zFtl{/Ftl}Fd
/zFsl{/Fsl}Fd
/Fgr{
setgray
}Fd
/setgray{
dup 100. mul round cvi Fss
Fgr
}Fd
/Fapg{64. div Fgr}Fd
/gr{64. div setgray}Fd
/pat{Wpt copy pop 9.375 pa por not{90 add}if{1 add 4 mul cvi Wpt exch get exch 1 add 4 mul cvi 7 sub bitshift 1 and}setscreen Fapg}Fd
%% End of FullWrite ProcSet